package cn.edu.qzuie.artist.module.td.convert.school;

import cn.edu.qzuie.artist.module.td.api.school.dto.TdSchoolSelectRespDTO;
import cn.edu.qzuie.artist.module.td.dal.dataobject.school.SchoolDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SchoolConvert {
    SchoolConvert INSTANCE= Mappers.getMapper(SchoolConvert.class);

    TdSchoolSelectRespDTO convert(SchoolDO bean);

    List<TdSchoolSelectRespDTO> convertList(List<SchoolDO> bean);
}
